#include <iostream>
#include <algorithm>
using namespace std;
typedef long long ll;
int main(){
	ll len[4]={0};
	for(int i=0;i<3;i++) cin>>len[i];
	sort(len,len+3);
	if(len[0]+len[1]<=len[2]){
		cout<<"Not triangle";
	}else{
		ll s1=len[0]*len[0]+len[1]*len[1];
		ll s2=len[2]*len[2];
		if(s1==s2){
			cout<<"Right triangle\n";
		}else if(s1>s2){
			cout<<"Acute triangle\n";
		}else{
			cout<<"Obtuse triangle\n";
		}
		if(len[0]==len[1]||len[0]==len[2]||len[1]==len[2]){
			cout<<"Isosceles triangle\n";
		}
		if(len[0]==len[1]&&len[0]==len[2]){
			cout<<"Equilateral triangle\n";
		}
	}
	return 0;
}
